export type QuestionSliderPropsType = {
  title?: string;
  noText?: string;
  yesText?: string;
  curNum?: number;
  onChange?: (newProps: QuestionSliderPropsType) => void;
  disabled?: boolean;
};

export const QuestionSliderDefaultProps: QuestionSliderPropsType = {
  title: "满意度",
  noText: "不满意",
  yesText: "满意",
  curNum: 30,
};

export type QuestionSliderStatPropsType = {
  stat: Array<{ name: string; count: number }>;
};
